package animal2;

public class DogTest {
    public static void main(String[] args) {
        Dog one=new Dog("毛毛",-2,2000,"泰迪");
        if (one.getAge()==0.0)
            return;
        one.run("毛毛");
        System.out.println(one.getAge());
    }
}
